home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1228 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.0 KB  |  38 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: news.nic.surfnet.nl!hhinsi!news
  3. From: robv@si.hhs.nl (Veer)
  4. Subject: Re: MsgPorts
  5. Message-ID: <DLA2Cn.B63@si.hhs.nl>
  6. Sender: news@si.hhs.nl
  7. Reply-To: robv@si.hhs.nl
  8. Organization: Sector Informatica, Haagse HogeSchool, the NetherLands
  9. References: <2005.6588T1264T489@Th0r.foo.bar>
  10. Date: Tue, 16 Jan 1996 14:17:10 GMT
  11.  
  12. In article 6588T1264T489@Th0r.foo.bar, christon (Christopher Naas) writes:
  13. > Can someone please tell me what I'm doing wrong here? When I run this program,
  14. > it causes a "Disable/Reboot" requester, and then hangs the machine (hard). If
  15. > I run it with Enforcer enabled, it works fine. I guess I'm doing something not
  16. > quite right, but I can't see what. Please help.
  17.  
  18. >                   kmsg = (struct KMsg *)GetMsg (mymsgport);
  19. >                   Printf ("Got it!  %ld\n", kmsg->Type);
  20. >                   ReplyMsg ((struct Message *)kmsg);
  21.  
  22. It seems as if you didn't install a replyport.
  23.  
  24.  
  25. ---
  26. CYa,
  27.  
  28.     Rob.
  29.  
  30. ---
  31. Think about this for a while:
  32.  
  33. Only fools can develop fool-proof applications.
  34.  
  35.  
  36.  
  37.